export default {
  name: 'DispatchCenter',
  path: '/DispatchCenter',
  meta: {
    title: 'DispatchCenter'
  },
  children: [
    // 电价时段管理
    {
      name: 'ElecPrice',
      path: '/DispatchCenter/ElecPrice',
      meta: {
        title: 'ElecPrice'
      },
      component: () => import('@/views/DispatchCenter/ElecPrice/index.vue')
    },
    // 策略管理
    {
      name: 'Chargestrategy',
      path: '/DispatchCenter/Chargestrategy',
      meta: {
        title: 'Chargestrategy'
      },
      component: () => import('@/views/DispatchCenter/Chargestrategy/index.vue')
    },
    // 动态需量管理
    {
      name: 'DynamicDemand',
      path: '/DispatchCenter/DynamicDemand',
      meta: {
        title: 'DynamicDemand'
      },
      component: () => import('@/views/DispatchCenter/DynamicDemand/index.vue')
    },
    //现货模式
    {
      name: 'SpotMode',
      path: '/DispatchCenter/SpotMode',
      meta: {
        title: 'SpotMode'
      },
      children: [
        //现货看板
        {
          name: 'SpotDashboard',
          path: '/DispatchCenter/SpotMode/SpotDashboard',
          meta: {
            title: 'SpotDashboard'
          },
          component: () => import('@/views/DispatchCenter/SpotMode/SpotDashboard/index.vue')
        },
        //策略看板
        {
          name: 'StrategyDashboard',
          path: '/DispatchCenter/SpotMode/StrategyDashboard',
          meta: {
            title: 'StrategyDashboard'
          },
          component: () => import('@/views/DispatchCenter/SpotMode/StrategyDashboard/index.vue')
        },
        // 收益看板
        {
          name: 'RevenueDashboard',
          path: '/DispatchCenter/SpotMode/RevenueDashboard',
          meta: {
            title: 'RevenueDashboard'
          },
          component: () => import('@/views/DispatchCenter/SpotMode/RevenueDashboard/index.vue')
        },
        // 参数配置
        {
          name: 'ParamConfig',
          path: '/DispatchCenter/SpotMode/ParamConfig',
          meta: {
            title: 'ParamConfig'
          },
          component: () => import('@/views/DispatchCenter/SpotMode/ParamConfig/index.vue')
        },
      ]

    },
    // 需求响应
    {
      name: 'DemandResponse',
      path: '/DispatchCenter/DemandResponse',
      meta: {
        title: 'DemandResponse'
      },
      children: [
        // 申报策略
        {
          name: 'Declare',
          path: '/DispatchCenter/DemandResponse/Declare',
          meta: {
            title: 'Declare'
          },
          component: () => import('@/views/DispatchCenter/DemandResponse/Declare/index.vue')
        },
        // 户号管理
        {
          name: 'CustomerManage',
          path: '/DispatchCenter/DemandResponse/CustomerManage',
          meta: {
            title: 'CustomerManage'
          },
          component: () => import('@/views/DispatchCenter/DemandResponse/CustomerManage/index.vue')
        },
      ],
    }
  ]
}